﻿@using Bookify.Web.Services.Auth
@page "/"

<PageTitle>Index</PageTitle>

<h1>Hello, world!</h1>

Welcome to your new app.<br />

<AuthorizeView>
    <p>你好, @context.User?.GetName()</p>

    @foreach (var item in @context.User.Claims)
    {
        <div>@($"Type:{item.Type},Value:{item.Value}")</div>
    }

</AuthorizeView>


<SurveyPrompt Title="This is fire-new Blazor UI!" />

@code{
    
}
